package mypack;

import java.io.IOException;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.mapreduce.Mapper;

public class EvolutionMapper extends Mapper<IntWritable, Chromosome, IntWritable, Chromosome> 
{
	Population population = new Population();

	public void map(IntWritable key, Chromosome value,Context context) throws IOException, InterruptedException
	{
		//Just read the data from HDFS File System in order to distribute chromosomes to the sub-populations
		context.write(key, value);
	}

}
